package com.competition.param.impl;

import java.util.List;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import com.admin.param.contract.IDesignatedMegotiatorData;
import com.admin.param.contract.IQueryEligibleEnterprisesRequestParm;
import com.competition.web.constant.ValidateCondtionAndMessage;
import com.param.impl.PageParam;

/**
 * 请求符合条件的企业信息
 */
public class QueryEligibleEnterprisesRequestParm<T extends IDesignatedMegotiatorData> extends PageParam implements IQueryEligibleEnterprisesRequestParm<T> {

	/**
	 * 电邀姓名
	 */
//	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	@NotNull
	@Size(min = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private 
	Long[] invitationId;
	
//	/**
//	 * 锚点企业
//	 */
//	@NotNull
//	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_MSG)
//	private String anchorEnterprise;
	
	/**
	 * 指定谈判人
	 */
	
	private List<T> designatedMegotiator;
	

	public Long[] getInvitationId() {
		return invitationId;
	}

	public void setInvitationId(Long[] invitationId) {
		this.invitationId = invitationId;
	}



	public List<T> getDesignatedMegotiator() {
		return designatedMegotiator;
	}

	public void setDesignatedMegotiator(List<T> designatedMegotiator) {
		this.designatedMegotiator = designatedMegotiator;
	}
}
